package com.sungu.yixili.utils;

import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.sungu.yixili.R;

/**
 * Created by Administrator on 2015/10/2 0002.
 */
public class ImageLoaderHelper {
    public static DisplayImageOptions getDisplayImageLoader()
    {
        DisplayImageOptions.Builder builder=new DisplayImageOptions.Builder();
        builder.showImageOnFail(R.mipmap.ic_launcher);
        builder.showImageOnLoading(R.mipmap.ic_launcher);
        builder.cacheInMemory(true);
        builder.cacheOnDisk(true);
        return builder.build();
    }
}
